﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Net;


public partial class Default : BasePage
{
    protected void Page_Load(object sender, EventArgs e)
    {
    }

    /// <summary>
    /// 根据浏览器类型生成 DOCTYPE
    /// </summary>
    /// <returns></returns>
    protected string GetDOCTYPE()
    {
        string strDocType = "";
        string strIE = Request.ServerVariables["HTTP_USER_AGENT"].ToString().Trim();
        string strVersion = strIE.Substring(strIE.IndexOf("MSIE") + 5, 1);
        if (strVersion == "6")
        {
            strDocType = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">";
        }
        return strDocType;
    }

    //定位到登录页面
    protected void HzLinkButton1_Click(object sender, EventArgs e)
    {
        //定位到登录页面
        CurrentAccount.Goto_Login();

    }
}

